<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model app\models\AsrCustomer */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="form-group">

    <a id="back" class="btn btn-default pull-left" href="../asr-customer/index?mobile_id=<?= $_GET['mobile_id'] ?>" ><i class="fa fa-backward"></i> 返回</a><br><br>

    <?php $form = ActiveForm::begin(); ?>

    <?= $form->field($model, 'username')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'phone_num')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'company_name')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'job')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'address')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'remark')->textInput(['maxlength' => true]) ?>

    <?=$form->field($model, 'sex')->dropDownList([1=>'男',2=>'女'])->label('选择性别');?>

    <div class="form-group">
        <?= Html::submitButton('保存', ['class' => 'btn btn-success']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
